package crp.core.security.domain.services;

import crp.core.security.domain.models.SSOAuthenticationRequest;
import io.quarkus.security.identity.AuthenticationRequestContext;
import io.quarkus.security.identity.SecurityIdentity;
import io.smallrye.mutiny.Uni;

public interface SSOIdentityProvider {

    Uni<SecurityIdentity> authenticate(SSOAuthenticationRequest request, AuthenticationRequestContext context);
}
